//
//  ImageAttacher.h
//  PhotoBase
//
//  Created by Alec Flett on 11/23/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Freebase.h"

// after an image upload, this attaches the image to a topic
@interface ImageAttacher : NSObject {
    FreebaseSession* _session;
    NSString *_topicId;
    
    id _delegate;
    SEL _didFinishSelector;
}

- (ImageAttacher*)initWithTopicId:(NSString*)topicId session:(FreebaseSession*)session;
- (void)imageUploaded:(NSDictionary*)result;

@property(nonatomic, retain) id delegate;
@property(nonatomic, assign) SEL didFinishSelector;

@end
